import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import App from './App'
import router from './router'
import store from './store'
import 'ant-design-vue/dist/antd.css'
import '@/vab'
//import moment from 'moment' //日期处理
/**
 * @author chuzhixin 1204505056@qq.com
 * @description 正式环境默认使用mock，正式项目记得注释后再打包
 */
// if (process.env.NODE_ENV === 'production') {
//     const { mockXHR } = require('@/utils/static')
//     mockXHR()
// }
const app = createApp(App)
//app.config.globalProperties.$moment = moment // 自定义添加,只能用于选项api
app.use(store).use(router).use(Antd).mount('#app')
